import http from './index'
// export const login = (params: object) => http.get('/list', { params }).then(res => res.data)


export const login = (params: object) => {
    return http({
        url: '/list',
        method: 'get',
        params: params
    })
}
export const login1 = (params: object) => {
    return http({
        url: '/list',
        method: 'get',
        params: params
    })
}

export const getMenu = (data: object) => {
    return http({
        url: '/getMenu',
        method: 'post',
        data
    })
}